class Post < ActiveRecord::Base
  has_generated_code length: 4
  has_generated_code :custom
  has_generated_code :custom_length, length: 5
end
